<div data-mod-id="footer">
    <div class="footer" data-mod-name="footer">
        <div class="footer-service" style="display:block;">
            
            <!-- 添加订单成功 -->
<div id="addorder" style="width:25%;z-index:999;position:fixed;top:30%;left:40%;border-radius: 16px;box-shadow: 0 0 6px 3px rgba(0,0,0,.15);padding: 10px 20px;background-color: #e8edef;display:none;">
<style type="text/css">
.successfullyfrom-close-r{float:right}
.successfullyfrom-close-r button{border:none;background-color: #FDD702;color:black;font-weight:bold;border-radius:5px;cursor:pointer;font-size:16px;padding:3px 6px;border-radius: 5px;}
.successfullyfrom-close-r button:hover{background-color:#36648a;color:#ffffff}
.successfullyfrom-close-b{padding:10px 12px;}
.successfullyfrom-close-b button{border:none;background-color: #FDD702;color:black;font-weight:bold;border-radius:5px;cursor:pointer;font-size:16px;padding:5px 10px;border-radius: 5px;}
.successfullyfrom-close-b button:hover{background-color:#36648a;color:#ffffff}
</style>
<div  class="successfullyfrom-close-r"><button type="button" onclick="close_successfullyfrom()">X</button></div>
<h2 style="font-size:30px;color:#36648a;padding:20px 10px;line-height:32px;">Order Prompt</h2>
<div style="font-size:16px;color:#79858e;padding:10px;line-height:20px;">The order is added successfully. You can click <a href="/order/">order</a> to pay or view</div>
<div class="successfullyfrom-close-b"><button type="button" onclick="close_successfullyfrom()">close</button></div>
</div>
<!-- 脚部 -->
<style>
@media screen and (min-width: 768px) {
.zh-icon:hover .QRcode{
display:block;
}
}
.QRcode{
width: 130px;  
position: absolute;
z-index: 99;
display:none;
}
.zh-buttom-img{
display: flex;
}
.zh-icon{
margin: 0 5px;
}
.zh-icon a>img, .zh-icon>img{
width: 80%;
border-radius: 25%;
aspect-ratio:1/1; 
object-fit:contain;
}
.QRcode img{
width: 80%;
}
</style>
<footer>

<div class="layui-container">
<!-- 底部成功后弹出框 -->
<div id="successfullyfrom_footer" style="width:25%;z-index:999;position:fixed;top:30%;left:40%;border-radius: 16px;box-shadow: 0 0 6px 3px rgba(0,0,0,.15);padding: 10px 20px;background-color: #e8edef;display: none;">
<style type="text/css">
  .successfullyfrom-close-r{float:right}
  .successfullyfrom-close-r button{border:1px solid #36648a;cursor:pointer;font-size:16px;padding:3px 6px;color:#36648a;border-radius: 5px;}
  .successfullyfrom-close-r button:hover{border:1px solid #ffffff;color:#ffffff}
  .successfullyfrom-close-b{padding:10px 12px;}
  .successfullyfrom-close-b button{border:1px solid #36648a;cursor:pointer;font-size:16px;padding:5px 10px;color:#36648a;border-radius: 5px;}
  .successfullyfrom-close-b button:hover{background-color:#36648a;color:#ffffff}
  @media screen and (max-width: 760px) {
    .layui-form-phone{display: none;}
    .fayoujian{display: none;}
  }
</style>
<div  class="successfullyfrom-close-r"><button type="button" onclick="close_successfullyfrom_footer()">X</button></div>
<h2 style="font-size:30px;color:#36648a;padding:20px 10px;line-height:32px;">{:lang('Submitted')}</h2>
<div style="font-size:16px;color:#79858e;padding:10px;line-height:20px;">{:lang('Thank you for reaching out.')}</div>
<div class="successfullyfrom-close-b"><button type="button" onclick="close_successfullyfrom_footer()">{:lang('close')}</button></div>
</div>
<div class="layui-row footer-box" style="padding:10px">
<div class="layui-col-sm5">
<div class="layui-col-sm12 layui-col-xs12">
    <div style="float:left">
        <a href="/"><img src="{:Config::get('app.images_host')}/images/web/logo.png" alt="logo" style="width:100px;"/></a>
    </div>
   
    <div class="footer-img-box" style="float:right;vertical-align: middle;margin-top: 15px;">
        <div class="zh-buttom-img">
            <div class="zh-icon">
                <a href="https://m.weibo.cn/u/3464346314">
                    <img src="https://image.lilybearing.com/images/web/weibo.png" style="width: 30px;height: 30px;" alt="weibo">
                </a>
                <div class="QRcode"><img src="https://image.lilybearing.com/images/web/weiboma.png" alt="weiboma"></div>
            </div>
     
            <div class="zh-icon">
                <img src="https://image.lilybearing.com/images/web/weixin.png" style="width: 30px;height: 30px;" alt="weixin">
                <div class="QRcode"><img src="https://image.lilybearing.com/images/web/wxm.jpg" alt="weixin"></div>
            </div>

            <div class="zh-icon">
                <a href="https://www.toutiao.com/c/user/token/MS4wLjABAAAARnAd_ZWSILnv0_UOYfMg2Dg-qro9FiTG6Ka4t2sKaXMZwgUPoYnfA9BTDdS-Nd2_/?source=mine_home&amp;wid=1659942755553"><img style="width: 30px;height: 30px;" src="https://image.lilybearing.com/images/web/toutiao.png" alt="toutiao"></a>
                <div class="QRcode"><img src="https://image.lilybearing.com/images/web/toutiaoma.png" alt="toutiaoma"></div>
            </div>

            <div class="zh-icon">
                <a href="https://www.zhihu.com/org/shang-hai-yang-zhen-zhou-cheng"><img style="width: 30px;height: 30px;" src="https://image.lilybearing.com/images/web/zhihu.png" alt="zhihu"></a>
                <div class="QRcode"><img src="https://image.lilybearing.com/images/web/zhihuma.png" alt="zhihuma"></div>
            </div>
        </div> 
    </div>
    <div style="clear:both;"></div>
</div>

<div class="layui-col-sm12 layui-col-xs12" style="padding:5px 0px">
    <p style="font:12px arial,helvetica,sans-serif;line-height:24px;letter-spacing:1px">Email: <a style="color: #fff;" class='email' href="mailto:lilybearing@lily-bearing.com">lilybearing@lily-bearing.com</a></p>
    <p style="font:12px arial,helvetica,sans-serif;line-height:24px;letter-spacing:1px">地址：中国上海市闵行区沅江路525号6楼301室</p>
</div>

<div class="layui-col-sm12 footer-font layui-col-xs12">
    <p style="font: 12px arial,helvetica,sans-serif;line-height:24px;letter-spacing:1px">为客户创造价值是我们的核心。在为客户服务时使用这个概念，我们会站在客户的角度考虑，而不是简单地销售产品。我们利用我们在轴承行业20多年的专业知识和经验，为客户提供设计、选型、售前和售后服务等先进服务。</p>
</div>
</div>
<div class="layui-col-sm4 layui-col-xs12" style="padding:0px 20px" >
<div class="layui-form-phone">
    <div class="layui-form">

        <div class="layui-col-sm12" style="padding: 5px 0px">
            <div style="float:left;width:20%;height:25px;line-height:25px;color:white;font-size:12px">姓名<span style="color:white;font-size:12px">*</span>:</div>
            <div class="layui-input-block" style="float:left;width:80%;">
                <input type="text" name="footer_name" aria-label="Name" id="footer_name" style="height:25px;padding:3px;" autocomplete="off" class="layui-input" />
            </div>
        </div>

        <div class="layui-col-sm12" style="padding: 5px 0px">
            <div style="float:left;width:20%;height:25px;line-height:25px;color: white;font-size:12px">邮箱<span style="color:white;font-size:12px">*</span>:</div>
            <div class="layui-input-block" style="float:left;width:80%;">
                <input type="text" name="footer_email" aria-label="Email" id="footer_email" style="height:25px;padding:3px;" autocomplete="off" class="layui-input" />
            </div>
        </div>

        <div class="layui-col-sm12" style="padding: 5px 0px">
            <div style="float:left;width:20%;height:25px;line-height:25px;color: white;font-size:12px">手机号码<span style="color:white;font-size:12px">*</span>:</div>
            <div class="layui-input-block" style="float:left;width:80%;">
                <input type="text" name="footer_phone" aria-label="Phone" id="footer_phone" style="height:25px;padding:3px;" autocomplete="off" class="layui-input" />
            </div>
        </div>

        <?php if($base_data['is_show_code']==true){?>
        <div class="layui-col-sm12 code-button-box" style="padding: 5px 0px">
            <div class="layui-form-item" id="code_div">
                <div class="verification-code">
                    <div style="float:left;width:20%;height:25px;line-height:25px;color: white;font-size:12px">验证码<span style="color:white;font-size:12px">*</span>:</div>
                    <div class="layui-input-block" style="float:left;width:80%;">
                        <input class="verification-code-input layui-input" aria-label="code" type="text" name="footer_code" style="width: 50%;float:left;height:35px;padding:3px;"/>
                        <img src="{:url('index/xunpan/verify')}" style="float: right;width: 50%;height:35px;" id="code_img" onclick="this.src=this.src.split('?')[0] + '?'+new Date().getTime()" title="Click to change one" >
                    </div>
                </div>
            </div>
        </div>
        <?php } ?>

        <div class="layui-col-sm12" style="padding: 5px 0px">
            <div style="float:left;width:20%;height:25px;line-height:25px;color: white;font-size:12px">备注<span style="color:white;font-size:12px">*</span>:</div>
            <div class="layui-input-block" style="float:left;width:80%;">
                <textarea name="footer_comments" aria-label="Comments" class="layui-textarea"></textarea>
            </div>
        </div>

        <div class="layui-col-sm12" style="padding: 5px 0px">
            <div style="float:left;width:20%;height:25px;line-height:25px;color: white;font-size:12px"></div>
            <div class="layui-input-block" style="float:left;width:80%;">
                <button id='gform_submit_button_6' class="layui-btn btn" lay-filter="footer_formDemo" lay-submit type='button' style="color:black;background-color: #FDD702;font-weight: bold;border-radius: 5px;height: 30px;line-height: 30px;margin: 0px;">提交</button>
            </div>
        </div>
    </div>
</div>
</div>

<div class="layui-col-sm3">
<h2 style="font: 18px arial,helvetica,sans-serif;">快速链接</h2>
<style type="text/css">
    @media(max-width:768px) {
        .quick-links li{height: 48px;line-height: 48px;}
    }
                                           
</style>
<ul style="padding:0px 5px" class='quick-links'>
    <li style="padding-top:5px;">
        <i class="layui-icon layui-icon-next" style="font-size:12px"></i>
        <a href="/about-us/" style="font: 12px arial,helvetica,sans-serif;line-height:14px;color:#ffffff;letter-spacing:1px">关于我们</a>
    </li>
    <li style="padding-top:5px">
        <i class="layui-icon layui-icon-next" style="font-size:12px"></i>
        <a href="/contact-us/" style="font: 12px arial,helvetica,sans-serif;line-height:14px;color:#ffffff;letter-spacing:1px">联系我们</a>
    </li>
    <li style="padding-top:5px">
        <i class="layui-icon layui-icon-next" style="font-size:12px"></i>
        <a href="/resources/blog/" style="font: 12px arial,helvetica,sans-serif;line-height:14px;color:#ffffff;letter-spacing:1px">博客</a>
    </li>
    <li style="padding-top:5px">
        <i class="layui-icon layui-icon-next" style="font-size:12px"></i>
        <a href="/resources/technology/" style="font: 12px arial,helvetica,sans-serif;line-height:14px;color:#ffffff;letter-spacing:1px">技术</a>
    </li>
    <li style="padding-top:5px">
        <i class="layui-icon layui-icon-next" style="font-size:12px"></i>
        <a href="/resources/downloads/" style="font: 12px arial,helvetica,sans-serif;line-height:14px;color:#ffffff;letter-spacing:1px">下载</a>
    </li>
    <li style="padding-top:5px">
        <i class="layui-icon layui-icon-next" style="font-size:12px"></i>
        <a href="/request-a-quote/" style="font: 12px arial,helvetica,sans-serif;line-height:14px;color:#ffffff;letter-spacing:1px">发送询盘</a>
    </li>
    <li style="padding-top:5px">
        <i class="layui-icon layui-icon-next" style="font-size:12px"></i>
        <a href="/resources/rohs-reach-compliance/" style="font: 12px arial,helvetica,sans-serif;line-height:14px;color:#ffffff;letter-spacing:1px">RoHS和REACH合规性</a>
    </li>
</ul>
<div class='fayoujian'>
    <h2 style="font: 18px arial,helvetica,sans-serif;margin-top: 15px;">养贞订阅</h2>
    <p style="font: 12px/14px arial,helvetica,sans-serif;line-height:12px;color:#ffffff;letter-spacing:1px;margin-top: 10px;">订阅接收公司、产品和行业新闻。</p>
    <div  style="float:left;height:20px;margin-top: 10px;width:100%;">
        <input type="text" name="subscribe_email" id="subscribe_email" placeholder="输入邮箱"  autocomplete="off" style="font: 12px/14px arial,helvetica,sans-serif;color:white;border: none;border-bottom: 1px solid #fff;background-color:black;cursor: text;color:white;width:100%;"/>
    </div>
    <button id='gform_submit_button_7' aria-label="Subscribe FormDemo" lay-filter="subscribe_formDemo"
        lay-submit type='button' style="color:white;float: left;margin-left: -20px;margin-top:6px;border: none;background-color: black;">
        <img src="{:Config::get('app.images_host')}/images/web/rightarrow.png?t={:time()}" alt='' style="max-height: 15px;"/>
    </button>
</div>
</div>
</div>
</div>
<div class="footer-bottom-box" style="background-color:#2a2e31;height:40px;line-height:40px;">
<div class="layui-container">
<div class="layui-row" style="padding-bottom: 0px;">
<div class="footer-bottom" style="width:80%" style="padding-bottom: 0px;">
    <div style="font: 12px/14px arial,helvetica,sans-serif;line-height:40px;float:left;letter-spacing:1px">© <?php echo date('Y',time());?> 养贞轴承•保留所有权利</div>
    <div style="float:left;margin-left:20px"><a href="/resources/privacy-policy/" style="font: 12px/14px arial,helvetica,sans-serif;line-height:40px;color:#ffffff;letter-spacing:1px">隐私政策</a></div>
    <div style="float:left;margin-left:20px"><a href="/resources/terms-conditions/" style="font: 12px/14px arial,helvetica,sans-serif;line-height:40px;color:#ffffff;letter-spacing:1px">条款和条件</a></div>
    <div style="float:left;margin-left:20px;font: 12px/14px arial,helvetica,sans-serif;line-height:40px;color:#ffffff;letter-spacing:1px">沪ICP备<a href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank" style="font: 12px/14px arial,helvetica,sans-serif;line-height:40px;color:#36648a;letter-spacing:1px">17055223号-4</a></div>
    <div style="clear: both;"></div>
</div>
<div style="clear: both;"></div>
</div>
</div>
</div>
</footer>




        </div>
        <div id="footer" bi_parent_name="footer" meta-data-adjust-app="hide">
            <div class="footer-nav" meta-data-adjust-app="hide">
                
                <div id="edit-header-drop">
                    <script type="text/html" id="header-lazyload-html-drop" class="header-lazyload-html" data-holder="#holder-drop">
                        <div class="header-dropdown" style="margin-top: -15px;">
                            <ul class="header-dropdown-list">
                                {foreach $base_data['nav_class'] as $key=>$vo }
                                <?php if(change_lower_symbol($vo['first']['cname'])=='products'){?>
                                <li class="header-dropdown-product J-drop-product header-backdrop-filter" data-name="{:change_lower_symbol($vo['first']['cname'])}" bi_parent_name="{:change_lower_symbol($vo['first']['cname'])}">
                                    <div class="dropdown-product-container" data-define="dropdown-container">
                                        <div class="dropdown-product-wrapper">
                                            <div class="dropdown-product-wrapper-top">
                                                <div class="dropdown-product-wrapper-left">
                                                    <form class="link-searcher" data-target="Product" data-no-results-text="未找到结果，请重新输入" data-nav-index="0" tabindex="-1">
                                                        <input class="link-searcher-input" type="text" placeholder="搜索分类" autocomplete="off">
                                                        <i class="link-searcher-clear"></i>
                                                        <button class="link-searcher-submit" type="submit" bi_name="">
                                                            <i class=""></i>
                                                        </button>
                                                        <div class="link-searcher-drop">
                                                            <ul></ul>
                                                        </div>
                                                    </form>
                                                </div>
                                                <div class="dropdown-product-wrapper-right">
                                                    <div class="dropdown-product-content-link">
                                                        <a href="/product/" style="text-decoration: none;">查看所有产品<i class="header-icon-arrow-right-large"></i></a>
                                                    </div>
                                                </div>
                                            </div>
                                           
                                            <div class="dropdown-product-wrapper-bottom">
                                                <div class="dropdown-product-wrapper-left">
                                                    <div class="dropdown-product-nav-container J-product-nav-container">
                                                        <div class="dropdown-product-nav J-product-nav">
                                                            <ul>
                                                                {foreach $base_data['nav_class'][0]['second'] as $k=>$v }
                                                                <?php if($k==0){ ?>
                                                                <li class="active" data-nav-index="1">
                                                                    <a style="text-decoration: none !important" class="dropdown-product-nav-menu" href="/{$v['url']}" data-target="{:change_lower_symbol($vo['first']['cname'])}-{:change_lower_symbol($v['cname'])}">
                                                                        <p class="dropdown-product-nav-menu-text"><span style="font: inherit;color: #72777d;font-size: 14px;">{:ucwords($v['alias_name'])}</span></p>
                                                                    </a>
                                                                </li>
                                                                <?php }else{?>
                                                                <li data-nav-index="1">
                                                                    <a style="text-decoration: none !important" class="dropdown-product-nav-menu" href="/{$v['url']}" data-target="{:change_lower_symbol($vo['first']['cname'])}-{:change_lower_symbol($v['cname'])}">
                                                                        <p class="dropdown-product-nav-menu-text"><span style="font: inherit;color: #72777d;font-size: 14px;">{:ucwords($v['alias_name'])}</span></p>
                                                                    </a>
                                                                </li>
                                                                <?php } ?>
                                                                {/foreach}
                                                            </ul>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="dropdown-product-wrapper-right J-pro-wrapper-right">
                                                    <div class="dropdown-product-body J-product-body" data-name="产品" data-nav-index="0">
                                                        {foreach $base_data['nav_class'][0]['second'] as $k=>$v }
                                                        <?php $sds=Db::table('lily_classify')->where([['fid','=',$v['id']],['status','=',1],['is_show','=','1']])->order('seq','asc')->select(); ?>
                                                        <?php if($k==0){?>
                                                        <div class="dropdown-product-content show" data-name="{:change_lower_symbol($vo['first']['cname'])}-{:change_lower_symbol($v['cname'])}">
                                                        <?php }else{ ?>
                                                        <div class="dropdown-product-content" data-name="{:change_lower_symbol($vo['first']['cname'])}-{:change_lower_symbol($v['cname'])}">
                                                        <?php } ?>
                                                            <div class="dropdown-product-content-middle" >
                                                                <?php if(!empty($sds)){?>
                                                                {foreach $sds as $k1=>$v1 }
                                                                <?php if($v1['is_tag']!=1){?>
                                                                <div class="dropdown-product-module ">
                                                                    <a style="text-decoration: none !important;vertical-align: middle;" href="/{:get_class_uplower_url($v1['id'])}" class="dropdown-product-item" data-keywords="">
                                                                        <img class="dropdown-product-item-icon" src="{:Config::get('app.images_host')}{$v1['img']}?x-oss-process=image/resize,w_50,h_50,m_pad/auto-orient,1/quality,q_100/format,png" style="width:50px;height: 50px;"></img>
                                                                        <p class="dropdown-product-item-title" style="font-weight: 0 !important;font: inherit;color: #72777d;font-size: 14px;">{:ucwords($v1['alias_name'])}</p>
                                                                    </a>
                                                                </div>
                                                                <?php }else{ ?>
                                                                <?php $sds1=Db::table('lily_classify')->where([['fid','=',$v1['id']],['status','=',1],['is_show','=','1']])->order('seq','asc')->select(); ?>
                                                                <div class="dropdown-product-group col-4">
                                                                    <a style="text-decoration: none;font-weight: bold;" class="dropdown-product-group-title">{:ucwords($v1['alias_name'])}</a>
                                                                    <div class="dropdown-product-group-content">
                                                                        {foreach $sds1 as $k2=>$v2 }
                                                                        <div class="dropdown-product-module">
                                                                            <a style="text-decoration: none !important;" href="/{:get_class_uplower_url($v2['id'])}" class="dropdown-product-item" >
                                                                                <img class="dropdown-product-item-icon" src="{:Config::get('app.images_host')}{$v2['img']}?x-oss-process=image/resize,w_50,h_50,m_pad/auto-orient,1/quality,q_100/format,png" style="width:50px;height: 50px;"></img>
                                                                                <p class="dropdown-product-item-title" style="font-weight: 0 !important;font: inherit;color: #72777d;font-size: 14px;">{:ucwords($v2['alias_name'])}</p>
                                                                            </a>
                                                                        </div>
                                                                        {/foreach}
                                                                    </div>
                                                                </div>
                                                                <?php }?>
                                                                {/foreach}
                                                                <?php }else{ ?>
                                                                <div class="dropdown-product-module ">
                                                                    <a style="text-decoration: none !important;" href="/{:get_class_uplower_url($v['id'])}" class="dropdown-product-item" data-keywords="">
                                                                        <p class="dropdown-product-item-title" style="font-weight: 0 !important;font: inherit;color: #72777d;font-size: 14px;">{:ucwords($v['alias_name'])}</p>
                                                                    </a>
                                                                </div>
                                                                <?php } ?>
                                                            </div>
                                                        </div>
                                                        {/foreach}
                                                    </div>
                                                </div>
                                            </div>
                                            <style type="text/css">
                                                    .dropdown-product-search-content a{text-decoration: none !important;}
                                                    .dropdown-product-search-content a p{font-weight: 0 !important;font: inherit;color: #72777d;font-size: 14px;}
                                                </style>
                                            <div class="dropdown-product-search-content">
                                                
                                            </div>
                                        </div>
                                        <div class="header-dropdown-close J-drop-close"></div>
                                    </div>
                                </li>
                                <?php }else{ ?>
                                <?php $sds=Db::table('lily_classify')->where([['fid','=',$vo['first']['id']],['status','=',1],['is_show','=','1']])->order('seq','asc')->select();?>
                                <li class="header-dropdown-price J-drop-common header-backdrop-filter" data-name="{:change_lower_symbol($vo['first']['cname'])}" bi_parent_name="{:change_lower_symbol($vo['first']['cname'])}">
                                    <div class="dropdown-common-container" data-define="dropdown-container">
                                        <div class="dropdown-common-wrapper">
                                            <div class="dropdown-common-wrapper-inner">
                                                <div class="dropdown-common-wrapper-bottom">
                                                    <div class="dropdown-common-wrapper-left has-activity">
                                                         {foreach $sds as $k=>$v }
                                                        <div class="dropdown-common-module">
                                                            <div class="dropdown-common-module-inner">
                                                                <a style="text-decoration: none !important;" href="/{:get_class_uplower_url($v['id'])}" class="dropdown-common-item">
                                                                    <p class="dropdown-common-item-title" style="font-weight: 0 !important;font: inherit;color: #72777d;font-size: 14px;">{:ucwords($v['alias_name'])}</p>
                                                                </a>
                                                            </div>
                                                        </div>
                                                        {/foreach}
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="header-dropdown-close J-drop-close"></div>
                                    </div>
                                </li>
                                <?php } ?>
                                {/foreach}

                            </ul>
                        </div>
                    </script>
                    <script type="text/html" id="header-lazyload-html-mbnav" class="header-lazyload-html" data-holder="#holder-mbnav">
                        <div class="header-mbnav">
                            <div class="header-mbnav-inner">
                                <div class="header-mbnav-leftmenu">
                                    <ul class="header-mbnav-menulist">
                                         {foreach $base_data['nav_class'] as $key=>$vo }
                                        <li data-key="{:change_lower_symbol($vo['first']['cname'])}" class="">
                                            <a bi_name="{:change_lower_symbol($vo['first']['cname'])}"><span>{:ucwords($vo['first']['alias_name'])}</span></a>
                                        </li>
                                        {/foreach}
                                        
                                        <li data-key="language" class="" >
                                            <a bi_name="Language"><span>语言</span></a>
                                        </li>
                                    </ul>
                                </div>
                                <ul class="header-mbnav-collapses">
                                    {foreach $base_data['nav_class'] as $key=>$vo }
                                    <li data-name="{:change_lower_symbol($vo['first']['cname'])}" bi_parent_name="{:change_lower_symbol($vo['first']['cname'])}">
                                        <?php if($vo['first']['cname']!='Resources'){?>
                                        <div class="header-mbnav-level2-content-index">
                                            <a style="text-decoration: none !important;" href="/{$vo['first']['url']}"><span>{:ucwords($vo['first']['alias_name'])}</span><i class="header-icon-arrow-right"></i></a>
                                        </div>
                                        <?php } ?>
                                        <?php $sds=Db::table('lily_classify')->where([['fid','=',$vo['first']['id']],['status','=',1],['is_show','=','1']])->order('seq','asc')->select();?>
                                        {foreach $sds as $k=>$v }
                                        <div class="header-collapse header-collapse-level1 closed">
                                            <div class="header-collapse-head">
                                                <a style="text-decoration: none !important;" href="/{:get_class_uplower_url($v['id'])}" bi_name="jump">
                                                    <p bi_name="{:change_lower_symbol($v['cname'])}_jump"><span>{:ucwords($v['alias_name'])}</span></p>
                                                </a>
                                            </div>
                                        </div>
                                        <div class="header-collapse-line no-splitLine"></div>
                                        {/foreach}
                                    </li>
                                    {/foreach}
                                    
                                   
                                    <li data-name="language">
                                        <div class="header-mbnav-level2-item">
                                            <a style="text-decoration: none !important;" class="header-mbnav-level2-item_link active" href="https://www.lilybearing.com/">简体中文<i class="layui-icon layui-icon-ok" style="font-size: 14px; color: #36648a;"></i> </a>
                                            <a style="text-decoration: none !important;" class="header-mbnav-level2-item_link" href="https://www.lilybearing.com/">English</a>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                            
                        </div>
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</div>

<!-- end 脚部 -->
<script src="/static/js/jquery-2.1.4.min.js"></script>
<script src="/static/layui/layui.js" charset="utf-8"></script>
<script src="/static/js/footer-us.js?t={:time()}" type="text/javascript"></script>
<script src="/static/js/footer-hua-es.js?t={:time()}" type="text/javascript"></script>
<script>
window.gConfig = window.gConfig || {}; window.gConfig.seed = window.gConfig.seed || [];
window.gConfig.seed.push({
name: '@cloud/pep-header-and-footer-china', data:
{
"packages": {
"@cloud/pep-header-and-footer-china": {
"path": "/hua/cnpm/china/",
},
"@cloud/lazyload": {
"path": "/hua/cnpm/lazyload/",
},
"@cloud/portal-utils": {
"path": "/hua/cnpm/utils/",
},
},
"modules": {
"@cloud/pep-header-and-footer-china/m/index": {
"requires": [
  "@cloud/portal-utils",
  "@cloud/lazyload"
]
},
"@cloud/pep-header-and-footer-china/pc/index": {
"requires": [
  "@cloud/portal-utils",
  "@cloud/lazyload"
]
}
}
}
})
</script>
<script src="/hua/js/g1.js"></script>

<script type="text/javascript" src="/hua/js/feloader.js" crossorigin="anonymous"></script>

<script>
if( !/pcloudApp/i.test(navigator.userAgent) ){
$("#header").css("display","block");
}
</script>


</body>
</html>

<script type="text/javascript">
$(function(){
var cartloaded = false;
$("#order_num_change_img").hover(function(){
if(!cartloaded){
    $.ajax({
        url: '{:url("/payment/addorder/order_ajax")}',/*传向后台服务器文件*/
        type: 'POST',    /*传递方法 */
        dataType: 'json',  //传递数据的格式
        async: true, //这是重要的一步，防止重复提交的
        cache: false,  //设置为false，上传文件不需要缓存。
        contentType: false,//设置为false,因为是构造的FormData对象,所以这里设置为false。
        processData: false,//设置为false,因为data值是FormData对象，不需要对数据做处理。

        success: function (res){
            if(res.status==1){
                var h = '';
                $.each(res.cookiedata,function (index,el){
                    h += '<div class="wrapper-order-li"><div class="wrapper-order-li-left"><img src="'+el.img+'?x-oss-process=image/resize,w_40,h_40,m_pad/auto-orient,1/quality,q_90/format,png">';
                    h += '<span><a href="'+el.url+'">'+el.Product_Number+'</a></span></div>';
                    h += '<div class="wrapper-order-li-right"><span>Price: '+el.Price+'</span>, <span>Num: '+el.num+'</span></div><div style="clear:both"></div></div>';
                });
                if(res.cookiedata.length==0){
                     $("#wrapper-order").html('');
                     $("#wrapper-order").hide();
                }else{
                    h += '<div class="wrapper-order-li-look"><a href="/order/">View Order</a></div>';
                    $("#wrapper-order").empty();
                    $("#wrapper-order").append(h);
                    cartloaded = true;
                }

            }
        }
    });
}
if(cartloaded) {
    $("#wrapper-order").show();
}
return false;
},function (){
if(cartloaded) {
    $("#wrapper-order").hide();
}
});
$("#wrapper-order").hover(function (){
if(cartloaded){
    $("#wrapper-order").show();
}
},function (){
if(cartloaded){
    $("#wrapper-order").hide();
}
})
});
</script>

<script type="text/javascript">
layui.use('form', function(){
var form = layui.form;

form.on('submit(footer_formDemo)', function(data){
var index = layer.load(1, { shade: [0.1,'#fff'] });
var name=$.trim($("input[name='footer_name']").val());
var email=$.trim($("input[name='footer_email']").val());
var phone=$.trim($("input[name='footer_phone']").val());
var code = $.trim($("input[name='footer_code']").val());
var comments=$.trim($("textarea[name='footer_comments']").val());
var company='';
var Product_Number='';

var lasturl=<?php if(isset($_SERVER['HTTP_REFERER'])){ echo "'".$_SERVER['HTTP_REFERER']."'";}else{echo "'"."'";}?>;/*上一个页面的url 不能在ajax里面书写这样就多了一层页面关系*/
var nowurl=window.location.href;/*当前页面url*/
var formData = new FormData();
formData.append('name', name);
formData.append('email', email);
formData.append('phone', phone);
formData.append('comments', comments);
formData.append('lasturl', lasturl);
formData.append('nowurl', nowurl);
formData.append('code', code);
formData.append('Product_Number', Product_Number);
formData.append('company', company);

$.ajax({
    url: "{:url('index/xunpan/send_inquiry')}",/*传向后台服务器文件*/
    type: 'POST',    /*传递方法 */
    data: formData,  /*要带的值，在这里只能带一个formdata ，不可以增加其他*/
    dataType: 'json',  //传递数据的格式
    async: true, //这是重要的一步，防止重复提交的
    cache: false,  //设置为false，上传文件不需要缓存。
    contentType: false,//设置为false,因为是构造的FormData对象,所以这里设置为false。
    processData: false,//设置为false,因为data值是FormData对象，不需要对数据做处理。

    success: function (res){
        if(res.status==1){
            layer.closeAll('loading');
            $(".layui-form input").each(function(){
                $(this).val('');
            })
            $(".layui-textarea").val('');
            $('#successfullyfrom_footer').css('display','block');
            return false;
        }else{
            layer.closeAll('loading');
            if(res.name!='no'){
                layer.tips(res.msg, '#'+res.name.replace("form","footer_"), {
                    tips: [1, '#5FB878'],
                    area: ['200px', 'auto']
                });
            }else{
                layer.msg(res.msg, {
                    time: 2000,
                    icon: 5
                });
            }
        }
    }
});

return false; //阻止表单跳转。如果需要表单跳转，去掉这段即可。
});
})
</script>
<script type="text/javascript">
layui.use('form', function(){
var form = layui.form;

form.on('submit(subscribe_formDemo)', function(data){
var email=$.trim($("input[name='subscribe_email']").val());
var formData = new FormData();
formData.append('email', email);

$.ajax({
    url: "{:url('index/xunpan/subscribe_email')}",/*传向后台服务器文件*/
    type: 'POST',    /*传递方法 */
    data: formData,  /*要带的值，在这里只能带一个formdata ，不可以增加其他*/
    dataType: 'json',  //传递数据的格式
    async: true, //这是重要的一步，防止重复提交的
    cache: false,  //设置为false，上传文件不需要缓存。
    contentType: false,//设置为false,因为是构造的FormData对象,所以这里设置为false。
    processData: false,//设置为false,因为data值是FormData对象，不需要对数据做处理。

    success: function (res){
        if(res.status==1){
            layer.closeAll('loading');
            $("input[name='subscribe_email']").val('');
            $('#successfullyfrom_footer').css('display','block');
            return false;
        }else{
            layer.closeAll('loading');
            if(res.name!='no'){
                layer.tips(res.msg, '#'+res.name, {
                    tips: [1, '#5FB878'],
                    area: ['200px', 'auto']
                });
            }else{
                layer.msg(res.msg, {
                    time: 2000,
                    icon: 5
                });
            }
        }
    }
});

return false; //阻止表单跳转。如果需要表单跳转，去掉这段即可。
});
})
function close_successfullyfrom_footer(){
$('#successfullyfrom_footer').css('display','none');
}
</script>
<script type="text/javascript">
layui.use("element", function () {
var element = layui.element;
});
</script>

<script type="text/javascript">
function lan_qihuan2(){
$(".qlang-sechond").css('display','block');
}

function qlang_hover(){
$("#qlang-sechond-l1").css('background','#ffffff');
$("#qlang-sechond-l1 a").css('color','black');
$("#qlang-sechond-l1 i").css('color','#ffffff');
}
function qlang_hover_out(){
$("#qlang-sechond-l1").css('background','#36648a');
$("#qlang-sechond-l1 a").css('color','#ffffff');

}

$(document).mouseup(function(e) {
var _con = $('#qlang');
if( !_con.is(e.target) && _con.has(e.target).length === 0 ){
$('#qlang-sechond').css('display','none');
}
});
</script>